package cn.hx.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 事项(Item)实体类
 *
 * @author makejava
 * @since 2022-08-19 19:30:20
 */
public class Item implements Serializable {
    private static final long serialVersionUID = 749170196281639887L;
    /**
     * 组件ID
     */
    private Integer id;
    /**
     * 事项名字
     */
    private String name;
    /**
     * 别名
     */
    private String otherName;
    /**
     * 事项创建时间
     */
    private Date createTime;
    /**
     * 事项修改时间
     */
    private Date updateTime;
    /**
     * 部门id
     */
    private Dept dept;
    /**
     * 热门分组ID
     */
    private ItemGroup itemGroup;
    /**
     * 状态：0：删除；1：暂停办理；2：正常办理
     */
    private Integer status;
    /**
     * 事项编码
     */
    private String code;
    /**
     * 备注
     */
    private String remark;




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOtherName() {
        return otherName;
    }

    public void setOtherName(String otherName) {
        this.otherName = otherName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public ItemGroup getItemGroup() {
        return itemGroup;
    }

    public void setItemGroup(ItemGroup itemGroup) {
        this.itemGroup = itemGroup;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Item{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", otherName='" + otherName + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", dept=" + dept +
                ", itemGroup=" + itemGroup +
                ", status=" + status +
                ", code='" + code + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}